<template>
  <router-view v-slot="{ Component }">
    <Transition mode="out-in">
      <component :is="Component" />
    </Transition>

    <!-- 开启顶部安全区适配 -->
    <van-nav-bar safe-area-inset-top />

    <!-- 开启底部安全区适配 -->
    <van-number-keyboard safe-area-inset-bottom />
  </router-view>
</template>
<script setup></script>
